package com.iweb.utils;

import cn.hutool.core.util.StrUtil;

public class CodeUtil {

    public static String generateCode(int n) {
        return StrUtil.uuid().replace("-", "").substring(0, n);
    }

}
